package cn.donting.jme.event.file;


import cn.donting.jme.editor.scene.Scene;
import lombok.Getter;

import java.io.File;
@Getter
public class OpenSceneEvent extends FileEvent {
    private Scene scene;

    public OpenSceneEvent(Object source, File file, Scene scene) {
        super(source, file);
        this.scene = scene;
    }

    public OpenSceneEvent(File file, Scene scene) {
        super(file);
        this.scene = scene;
    }
}
